package designPattern.struction.decoratorpattern;

/**
 * @author 张琪
 * @date 2023/2/3 18:07
 */
public class DecoratorFirst extends Decorator{
    public DecoratorFirst(Human human) {
        super(human);
    }

    public void goClothespress() {
        System.out.println("去衣柜找找看");
    }

    @Override
    public void wearClothes() {
        super.wearClothes();
        goClothespress();
    }
}
